package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: thoughtworker
 * Date: 10/9/13
 * Time: 2:04 PM
 * To change this template use File | Settings | File Templates.
 */
public class Book {

    private boolean isAvailable = true;
    private String title;
    private int bookId;


    Book(String title, int bookId) {
        this.title = title;
        this.bookId = bookId;
    }

    public boolean getIsAvailable() {
        return isAvailable;
    }

    public void setIsAvailable(boolean available) {
        isAvailable = available;
    }

    public String getTitle() {
        return title;
    }


    public int getBookId() {
        return bookId;  //To change body of created methods use File | Settings | File Templates.
    }
}
